<h2>Edit Account</h2>
<?php
echo $form->create('Account', array('url' => '/accounts/edit'));
echo $form->hidden('id');
echo $form->input('email',array('label' => 'Email Address'));
echo $form->input('password', array('type' => 'password'));
echo 'Leave the password fields blank if you do not wish to change this accounts password';
echo $form->input('confirm_password', array('type'=>'password'));
echo '<div><input type="submit" value="Submit" /> or '.$html->link('Cancel', array('action' => 'index')).'</div>';
echo $form->end();
?>